const app = {
  state: {
    projectInfo:{},
    theme:''
  },
  mutations: {
    SET_PROJECTINFO: (state, projectInfo) => {
      state.projectInfo = projectInfo;
    },
    SET_THEME: (state, theme) => {
      state.theme = theme;
    },
  },
  actions: {
    setProjectId({commit},projectInfo) {
      commit('SET_PROJECTINFO', projectInfo)
    }
  }
}

export default app
